@import '../../style/variable.less';

.djDetail{
    .header{
        background-size: 100%;
        width: 100%;
        height: 20rem;
        position: relative;
        .pic{
            width: 100%;
            height: 20rem;
            object-fit: cover;
        }
        .info{
            position: absolute;
            bottom: 3rem;
            left: 1.2rem;
            right: 1.2rem;
            .rcmdText{
                color: #fff;
                font-size: 1.2rem;
                margin-bottom: 0.4rem;
            }
            .subCount{
                color: #fff;
                font-size: 1rem;
                opacity: 0.8;
            }
            .btn{
                background-color: @main-color;
                padding: 0.3rem 1rem;
                height: 2rem;
                width: 6rem;
                box-sizing: border-box;
                text-align: center;
                border-radius: 2rem;
                color: #fff;
                font-size: 0.9rem;
                text-align: center;
                border: 0;
                .icon{
                    width: 1.5rem;
                    height: auto;
                    margin-right: 0.2rem;
                }
            }
        }
    }
    .mainContent{
        background-color: #fff;
        margin-top: -2rem;
        .mcHeader{
            background-color: #fff;
            position: sticky;
            top: 0;
            border-bottom: 0.1rem solid #f4f4f4;
            border-radius: 1rem 1rem 0 0;
            color: #333;
            font-size: 1.2rem;
            span{
                flex: 1;
                text-align: center;
                font-size: 1.1rem;
                color: #333;
                font-weight: bold;
                position: relative;
                padding: 1rem;
                .count{
                    color: #666;
                    font-size: 0.8rem;
                    margin-left: 0.2rem;
                }
            }
            .active::after{
                position: absolute;
                content: '';
                bottom: 0;
                left: 44%;
                height: 0.2rem;
                width: 2rem;
                background-color: @main-color;
            }
        }
        .detail-ul{
            padding-bottom: 1rem;
            .detail-li{
                padding: 1rem;
                .index{
                    color: #999;
                    font-size: 1.2rem;
                    width: 2rem;
                    margin-right: 1.2rem;
                    text-align: center;
                }
                .name{
                    color: #333;
                    font-size: 1.1rem;
                    width: 20rem;
                    margin-bottom: 0.6rem;
                }
                .info{
                    flex: 1;
                    color: #999;
                    font-size: 0.9rem;
                    .icon-play3{
                        width: 1rem;
                        height: auto;
                        margin-left: 0.6rem;
                        margin-right: 0.2rem;
                    }
                    .icon-time{
                        width: 1rem;
                        height: auto;
                        margin-left: 0.6rem;
                        margin-right: 0.2rem;
                    }
                }
                .icon-more{
                    width: 2rem;
                    height: auto;
                }
            }
        }
        .toolHeader{
            background-color: #fff;
            padding: 1rem 0;
            flex: 1;
            .songsInfo{
                .avatar{
                    width: 3.4rem;
                    height: 3.4rem;
                    border-radius: 0.2rem;
                    object-fit: cover;
                    margin-right: 1rem;
                }
                .name{
                    color: #333;
                    font-size: 1.2rem;
                    font-weight: bold;
                    margin-bottom: 0.3rem;
                    margin-right: 1rem;
                }
                .artist{
                    color: #999;
                    font-size: 1rem;
                }
                .btn{
                    border: 0.1rem solid @main-color;
                    background: transparent;
                    border-radius: 1rem;
                    padding: 0.3rem 0.8rem;
                    color: @main-color;
                    font-size: 0.8rem;
                }
            }
            .tip{
                color: #999;
                font-size: 0.8rem;
                margin-top: 0.5rem;
            }
        }
        .detailModule{
            padding-bottom: 10rem;
            box-sizing: border-box;
            .title{
                padding: 1rem;
                color: #333;
                font-size: 1rem;
            }
            .creatorInfo{
                padding: 0 1rem;
                margin-bottom: 1.5rem;
                .avatar{
                    width: 3.5rem;
                    height: 3.5rem;
                    border-radius: 50%;
                    margin-right: 0.8rem;
                }
                .nickname{
                    color: #333;
                    font-size: 1.1rem;
                    margin-bottom: 0.4rem;
                }
                .description{
                    color: #999;
                    font-size: 0.9rem;
                }
            }
            .description{
                margin-bottom: 1.5rem;
                .category{
                    color: #666;
                    font-size: 1rem;
                    padding-left: 1rem;
                    .name{
                        color: @main-color;
                        font-size: 0.8rem;
                        padding:0 0.3rem;
                        border-radius: 0.2rem;
                        margin-left: 0.1rem;
                        border: 0.1rem solid @main-color;
                    }
                }
                .desc{
                    color: #666;
                    font-size: 1rem;
                    margin-top: 0.8rem;
                    padding: 0 1rem;
                    line-height: 1.8rem;
                }
            }
            .comment{
                .comment-ul{
                    padding: 0 1rem;
                    .comment-li{
                        margin-bottom: 0.6rem;
                        .userInfo{
                            .avatar{
                                width: 2.2rem;
                                height: 2.2rem;
                                margin-right: 0.6rem;
                                border-radius: 50%;
                            }
                            .nickname{
                                color: #666;
                                font-size: 0.9rem;
                            }
                        }
                        .content{
                            color: #333;
                            font-size: 1rem;
                            margin-top: 0.4rem;
                            line-height: 1.8rem;
                            margin-left: 3rem;
                        }
                        .programName{
                            color: #999;
                            font-size: 0.8rem;
                            margin-top: 0.6rem;
                            margin-left: 3rem;
                            padding-bottom: 1rem;
                            border-bottom: 0.1rem solid #f5f5f5;
                        }
                    }
                }
            }
        }
    }
}